﻿<?xml version="1.0" encoding="utf-8" ?>
<helpItems xmlns="http://msh" schema="maml">
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <command:details>
      <command:name>
        Import-SPMigrationData
      </command:name>
      <maml:description>
        <maml:para>This cmdlet can be used to Import content to SharePoint 2010</maml:para>
      </maml:description>
      <maml:copyright>
        <maml:para>Copyright Microsoft Services</maml:para>
      </maml:copyright>
      <command:verb>Import</command:verb>
      <command:noun>SPMigrationData</command:noun>
    </command:details>
    <maml:description>
      <maml:para>
        Use this cmdlet to to Import content to SharePoint 2010.
      </maml:para>
    </maml:description>
    <command:parameters>
      <command:parameter required="true" position="0">
        <maml:name>DirectoryName</maml:name>
        <maml:description>
          <maml:para>This is the name of the directory that contains the exported data.</maml:para>
        </maml:description>
        <command:parameterValue required="true">
          String
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="true" position="1">
        <maml:name>WebApplicationURL</maml:name>
        <maml:description>
          <maml:para>This is an URL to the Web Application to which the content is imported.</maml:para>
        </maml:description>
        <command:parameterValue required="true">
          String
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="2">
        <maml:name>ManagedPath</maml:name>
        <maml:description>
          <maml:para>This is the managed path under which the site collection will be created.</maml:para>
        </maml:description>
        <command:parameterValue required="false">
          String
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="3">
        <maml:name>SiteName</maml:name>
        <maml:description>
          <maml:para>This is the name of the site collection to be created.</maml:para>
          <maml:para>Note. This is not the full URL</maml:para>        </maml:description>
        <command:parameterValue required="false">
          string
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="4">
        <maml:name>SetSecurity</maml:name>
        <maml:description>
          <maml:para>This flag controls if the importer will set permissions on the imported content</maml:para>
          <maml:para>Note. This is not the full URL</maml:para>
        </maml:description>
        <command:parameterValue required="false">
          string
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="5">
        <maml:name>AllowImportToExistingSites</maml:name>
        <maml:description>
          <maml:para>This flag controls if the importer is allowed to import content to existing sites</maml:para>
        </maml:description>
        <command:parameterValue required="false">
          boolean
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="6">
        <maml:name>AllowImportToExistingLibraries</maml:name>
        <maml:description>
          <maml:para>This flag controls if the importer is allowed to import content to existing libraries</maml:para>
        </maml:description>
        <command:parameterValue required="false">
          boolean
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="7">
        <maml:name>SiteDefinitionName</maml:name>
        <maml:description>
          <maml:para>This is the site definition name</maml:para>
        </maml:description>
        <command:parameterValue required="false">
          string
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="8">
        <maml:name>Owner</maml:name>
        <maml:description>
          <maml:para>This is the site collection owner</maml:para>
        </maml:description>
        <command:parameterValue required="false">
          string
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="7">
        <maml:name>Contact</maml:name>
        <maml:description>
          <maml:para>This is the email of the site collection owner</maml:para>
        </maml:description>
        <command:parameterValue required="false">
          string
        </command:parameterValue>
      </command:parameter>
    </command:parameters>
    <command:examples>
      <command:example>
        <maml:title>
          ------------------------ EXAMPLE 1 ------------------------
        </maml:title>
        <maml:introduction>
          <maml:para>
            Import-SPMigrationData -DirectoryName c:\data\TeamSiteExport -WebApplicationURL http://contoso -ManagedPath sites -SiteName NewSite -SetSecurity $true -AllowImportToExistingSites $true -AllowImportToExistingSites $true -AllowImportToExistingSites $true AllowImportToExistingLibraries $true -SiteDefintionName STS#0 -Owner CONTOSO\User -Contact user@contoso.com
          </maml:para>
        </maml:introduction>
        <dev:remarks>
          <maml:para>This example import the data from c:\data\teamsite to http://contoso/sites/NewSite </maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
  </command:command>
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <command:details>
      <command:name>
        Export-SPMigrationData
      </command:name>
      <maml:description>
        <maml:para>This cmdlet can be used to Export content from SharePoint 2010</maml:para>
      </maml:description>
      <maml:copyright>
        <maml:para>Copyright Microsoft Services</maml:para>
      </maml:copyright>
      <command:verb>Export</command:verb>
      <command:noun>SPMigrationData</command:noun>
    </command:details>
    <maml:description>
      <maml:para>
        Use this cmdlet to Export content from SharePoint 2010.
      </maml:para>
    </maml:description>
    <command:parameters>
      <command:parameter required="true" position="0">
        <maml:name>SiteURL</maml:name>
        <maml:description>
          <maml:para>This is the Url to the site collection that will be exported.</maml:para>
        </maml:description>
        <command:parameterValue required="true">
          String
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="true" position="1">
        <maml:name>DirectoryName</maml:name>
        <maml:description>
          <maml:para>This is the name of the directory that will contain the exported data.</maml:para>
        </maml:description>
        <command:parameterValue required="true">
          String
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="2">
        <maml:name>IncludeSubSites</maml:name>
        <maml:description>
          <maml:para>This flag controls if subsites are exported.</maml:para>
        </maml:description>
        <command:parameterValue required="false">
          Boolean
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="3">
        <maml:name>List</maml:name>
        <maml:description>
          <maml:para>If specified then only this list will be exported.</maml:para>
        </maml:description>
        <command:parameterValue required="false">
          String
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="4">
        <maml:name>Folder</maml:name>
        <maml:description>
          <maml:para>If specified then only this folder will be exported.</maml:para>
        </maml:description>
        <command:parameterValue required="false">
          String
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="5">
        <maml:name>ExportItemsNewerThan</maml:name>
        <maml:description>
          <maml:para>Date threshold</maml:para>/maml:para>
        </maml:description>
        <command:parameterValue required="false">
          Datetime
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="6">
        <maml:name>ExportItemsOlderThan</maml:name>
        <maml:description>
          <maml:para>Date threshold</maml:para>/maml:para>
        </maml:description>
        <command:parameterValue required="false">
          Datetime
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="7">
        <maml:name>ExportUserInfo</maml:name>
        <maml:description>
          <maml:para>If specifed the user information will be exported</maml:para>/maml:para>
        </maml:description>
        <command:parameterValue required="false">
          Boolean
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="8">
        <maml:name>ExportVersions</maml:name>
        <maml:description>
          <maml:para>If specifed the document/list versions will be exported</maml:para>/maml:para>
        </maml:description>
        <command:parameterValue required="false">
          Boolean
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="9">
        <maml:name>ExportDesignElements</maml:name>
        <maml:description>
          <maml:para>If specifed then design artifacts (aspx pages etc) will be exported</maml:para>/maml:para>
        </maml:description>
        <command:parameterValue required="false">
          Boolean
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="10">
        <maml:name>Compress</maml:name>
        <maml:description>
          <maml:para>If specifed then the exported data will be compressed</maml:para>/maml:para>
        </maml:description>
        <command:parameterValue required="false">
          Boolean
        </command:parameterValue>
      </command:parameter>
    </command:parameters>
    <command:examples>
      <command:example>
        <maml:title>
          ------------------------ EXAMPLE 1 ------------------------
        </maml:title>
        <maml:introduction>
          <maml:para>
            Export-SPMigrationData -SiteURL http://contoso/sites/Site -DirectoryName c:\data\TeamSiteExport -IncludeSubSites $true
          </maml:para>
        </maml:introduction>
        <dev:remarks>
          <maml:para>This example exports the data from http://contoso/sites/Site to c:\data\TeamSiteExport </maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>
          ------------------------ EXAMPLE 2 ------------------------
        </maml:title>
        <maml:introduction>
          <maml:para>
            Export-SPMigrationData -SiteURL http://contoso/sites/Site -DirectoryName c:\data\TeamSiteExport -IncludeSubSites $true -List Contracts
          </maml:para>
        </maml:introduction>
        <dev:remarks>
          <maml:para>This example exports the data from the list/library Contracts from http://contoso/sites/Site to c:\data\TeamSiteExport </maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>
          ------------------------ EXAMPLE 3 ------------------------
        </maml:title>
        <maml:introduction>
          <maml:para>
            Export-SPMigrationData -SiteURL http://contoso/sites/Site -DirectoryName c:\data\TeamSiteExport -ExportVersions $false
          </maml:para>
        </maml:introduction>
        <dev:remarks>
          <maml:para>This example exports the data from http://contoso/sites/Site to c:\data\TeamSiteExport. All old versions are skipped </maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
  </command:command>
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <command:details>
      <command:name>
        Export-SPSingleWeb
      </command:name>
      <maml:description>
        <maml:para>This cmdlet can be used to Export a single site from SharePoint 2010</maml:para>
      </maml:description>
      <maml:copyright>
        <maml:para>Copyright Microsoft Services</maml:para>
      </maml:copyright>
      <command:verb>Export</command:verb>
      <command:noun>SPSingleWeb</command:noun>
    </command:details>
    <maml:description>
      <maml:para>
        Use this cmdlet to Export a single site from SharePoint 2010.
      </maml:para>
    </maml:description>
    <command:parameters>
      <command:parameter required="true" position="0">
        <maml:name>URL</maml:name>
        <maml:description>
          <maml:para>This is the Url to the site that will be exported.</maml:para>
        </maml:description>
        <command:parameterValue required="true">
          String
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="true" position="1">
        <maml:name>Folder</maml:name>
        <maml:description>
          <maml:para>This is the name of the directory that will contain the exported data.</maml:para>
        </maml:description>
        <command:parameterValue required="true">
          String
        </command:parameterValue>
      </command:parameter>
      <command:parameter required="false" position="2">
        <maml:name>File</maml:name>
        <maml:description>
          <maml:para>This is the name export file.</maml:para>
        </maml:description>
        <command:parameterValue required="false">
          String
        </command:parameterValue>
      </command:parameter>
    </command:parameters>
    <command:examples>
      <command:example>
        <maml:title>
          ------------------------ EXAMPLE 1 ------------------------
        </maml:title>
        <maml:introduction>
          <maml:para>
            Export-SPSingleWeb -URL http://contoso/sites/Site -Folder c:\data\TeamSiteExport -File site.cmp
          </maml:para>
        </maml:introduction>
        <dev:remarks>
          <maml:para>This example exports the site http://contoso/sites/Site to c:\data\TeamSiteExport </maml:para>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>
          ------------------------ EXAMPLE 2 ------------------------
        </maml:title>
        <maml:introduction>
          <maml:para>
            Export-SPSingleWeb -URL http://contoso/sites/Site/Sub -Folder c:\data\TeamSiteExport -File site.cmp
          </maml:para>
        </maml:introduction>
        <dev:remarks>
          <maml:para>This example exports the site http://contoso/sites/Site/Sub to c:\data\TeamSiteExport </maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
  </command:command>
</helpItems>